export default {
    socketSend:async function (tcp,gg){
        var cc=new Uint8Array([170,2,gg]);
        tcp.send({
            data:cc.buffer
        },err => {
            if (err) {
                console.log('send fail');
                return;
            }
            console.log('send success');
        });
    }
}